package com.rongc.client.freight.business.message.view.adapter;

import android.content.Context;

import com.rongc.client.freight.R;
import com.rongc.client.freight.base.view.adapter.RecyclerBaseAdapter;
import com.rongc.client.freight.business.message.model.MessageBean;

import java.util.List;

/**
 * Created by ccqx on 2017/6/28.
 */

public class RecyclerMessageAdapter extends RecyclerBaseAdapter<MessageBean> {


    public RecyclerMessageAdapter(Context mContext, List<MessageBean> mDatas) {
        super(mContext, mDatas);
    }

    @Override
    protected void onBind(final BaseRecyclerViewHolder holder, int position, MessageBean data) {
//        holder.setText(R.id.tv_title,data.getTitle());
//        holder.setText(R.id.tv_date,data.getDate());
//        holder.setText(R.id.tv_content,data.getContent());
    }

    @Override
    protected int getLayoutId() {
        return R.layout.recycler_message_item;
    }
}
